public class sdf {
    int age;
    int shengao;
    public sdf(int a,int b){
        this.age=a;
        this.shengao=b;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getShengao() {
        return shengao;
    }

    public void setShengao(int shengao) {
        this.shengao = shengao;
    }

    @Override
    public boolean equals(Object o) {

        return super.equals(o);
    }

    public static void main(String[] args) {
        sdf s=new sdf(1,2);
        sdf s2=new sdf(1,2);
//        System.out.println(s.age);
        System.out.println(s.equals(s2));
    }
}
